import { defHttp } from '/@/utils/http/axios'
enum Api {
	url = 'sensing-infos/HistorySensingsChartData',
}

export function list(params) {
	params.deviceId = params.binderId
	const [ startTime, endTime ] = params.time
	params.startTime = startTime
	params.endTime = endTime
	return defHttp.get({ url: Api.url, params })
}
